# 数组
# names = ['Michael', 'Bob', 'Tracy']
# scores = [95, 75, 85]
# print(names[1])
# print(scores[1])

# d = {'Michael': 95, 'Bob': 75, 'Tracy': 85}
# print(d.get('Thomas'))
# d.pop('Bob')
# print(d)

# # 字典
# d = {'a': 3234, 'b': 7557, 'c': 100}
# # print(d['b'])

# d['c'] = 67
# print(d['c'])


# s = {1, 1, 2, 2, 3, 3}
# print(s)

# s1 = {1, 2, 3}
# s2 = {2, 3, 4}
# print(s1 & s2)
# print(s1 | s2)

# a = ['c', 'b', 'a']
# a.sort()
# print(a)

# a = 'abc'
# d = a.replace('a', 'A')

# print(a)
# print(d)

# number = 3.14159
# formatted_number = f'the number is {number:.2f}'
# print(formatted_number)

# a = 20.123
# b = 30.465
# result = f'the result is {a + b:.2f}'
# print(result)

# s = set([1, 1, 2, 3, 3])
# print(s)

# s = {2, 3, 1, 1, 4, 6, 3}
# print(s)

# print(a)
# print(d)
